package edu.sctu.renpingan.day20150505;

/**
 * Created by Administrator on 2015/5/5.
 */
public class MainOne {
    public static void main(String[] args) {
         Dogone dogone ;
        dogone = new Dogone(new InterfaceText(){


            @Override
            public void getierface(String color, String action, int size) {
                System.out.println("颜色"+color+"动作"+action+"大小"+size);
            }
        });
        dogone.getaction();
        dogone.getcolor();
        dogone.getsize();
        dogone.dogone();
    }

}





